<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">

<TITLE>SFX commands: Shortcut</TITLE>
<link href="style.css" rel="stylesheet" type="text/css">
</HEAD>

<BODY>

<P class="title"><A NAME="HELPSFXShortcut"></A>SFX commands: Shortcut<hr></P>

<P><B><I>Shortcut=&lt;DestType&gt;,&lt;SrcName&gt;,&lt;DestFolder&gt;,&lt;Description&gt;,&lt;ShortcutName&gt;,&lt;ShortcutIcon&gt;</I>
</B></P>

<P>Create a shortcut to unpacked file.</P>

<P><b><I>DestType</I></b> is one character wide field, which can have the
following values:</P><br>

<TABLE border="1" cellspacing="0">

<TR>
<TD><b>D</b></TD>
<TD>Create a shortcut on Desktop</TD>
</TR>

<TR>
<TD><b>P</b></TD>
<TD>Create a shortcut in Start Menu/Programs</TD>
</TR>

<TR>
<TD><b>T</b></TD>
<TD>Create a shortcut in Startup folder</TD>
</TR>
</TABLE>
<BR>

<P><b><I>SrcName</I></b> is a name of archived file.</P>

<P><b><I>DestFolder</I></b> is a folder to create a shortcut in. If it does
not exist, it will be created by SFX archive. </P>

<P><b><i>Description</i></b> is a text string describing a shortcut.</P>

<P><b><i>ShortcutName</i></b> is a name of .lnk (shortcut) file created by
SFX.</P>

<P><b><I>ShortcutIcon </I></b>is a name of icon file associated 
with shortcut. If you omit this parameter, the default icon will be used.
If icon file name does not contain the full path, SFX archive will search 
the icon file in folder containing unpacked files.</P>

<P>All parameters are separated by commas. If you need to put a comma
character inside of parameter, enclose the whole parameter to quotes.
Repeat quotes twice if you need to insert a quote mark into string.
Only <I>DestType</I> and <I>SrcName</I> are required, other parameters
are optional and can be omitted or left empty.</P>

<h1><B>Example</B></h1>

<P>Create a shortcut in folder WinRAR on Desktop to archived file
winrar.exe with the description "WinRAR executable file", name "WinRAR
archiver" and icon winrar.ico:</P>

<P class="sample"><B>Shortcut=D, winrar.exe, WinRAR, "WinRAR executable file", "WinRAR
archiver", winrar.ico</B></P>

</BODY>
</HTML>
